package com.hightemperator.dao;


import com.hightemperator.po.Assist;
import com.hightemperator.po.AssistAndUserMessage;
import com.hightemperator.po.AssistExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AssistMapper {

    int countByExample(AssistExample example);

    int deleteByExample(AssistExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Assist record);

    int insertSelective(Assist record);

    List<Assist> selectByExample(AssistExample example);

    Assist selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Assist record, @Param("example") AssistExample example);

    int updateByExample(@Param("record") Assist record, @Param("example") AssistExample example);

    int updateByPrimaryKeySelective(Assist record);

    int updateByPrimaryKey(Assist record);

    List<AssistAndUserMessage> getAssistMessage(Map<String,Object> param);

    Assist getAssistHistory(Map<String,Object> param);

}